package com.woniu.controller;

import com.woniu.entity.Result;
import com.woniu.pojo.CoursesCard;
import com.woniu.service.ICoursesCardService;
import com.woniu.vo.cardVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author xiaohuang
 * @since 2022-10-17
 */
@RestController
@RequestMapping("/coursesCard")
@Api(tags = "课程会员卡")
public class CoursesCardController extends BaseController{
    @Autowired
    private ICoursesCardService coursesCardService;

    /*@ApiOperation("添加")
    @PostMapping("/{id}")
    public Result saveCoursesCard(@PathVariable String id, @RequestBody cardVo[] cardVo){

        Integer row = coursesCardService.saveCoursesCard(id,cardVo);
        return toResult(row);
    }*/


}
